﻿using Jinjia.Core.BaseInfrastructure.BaseModel;
using SqlSugar;

namespace Jinjia.Approve.Entity.Entity.JJFlow
{
    ///<summary>
    ///jj_flow_track
    ///表jj_flow_track的实体类
    ///</summary>
    public class jj_flow_track : BaseEntity
    {
        /// <summary>
        /// 实例任务ID
        /// </summary>
        public int instance_id { get; set; }

        /// <summary>
        /// 操作结果
        /// </summary>
        public int operation_result { get; set; }

        /// <summary>
        /// 当前节点ID
        /// </summary>
        public int node_id { get; set; }

        /// <summary>
        /// 当前节点名称
        /// </summary>
        public string node_name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int action_type { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string action_type_name { get; set; }

        /// <summary>
        /// 来自节点
        /// </summary>
        public int from_node { get; set; }

        /// <summary>
        /// 来自节点名称
        /// </summary>
        public string from_node_name { get; set; }

        /// <summary>
        /// 去往节点
        /// </summary>
        public int to_node { get; set; }

        /// <summary>
        /// 去往节点名称
        /// </summary>
        public string to_node_name { get; set; }

        /// <summary>
        /// 来自人员
        /// </summary>
        public string from_emp { get; set; }

        /// <summary>
        /// 来自人员名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string from_emp_name { get; set; }

        /// <summary>
        /// 去往人员
        /// </summary>
        public string to_emp { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        [SugarColumn(IsIgnore = true)] public new int deleted { get; set; }

        [SugarColumn(IsIgnore = true)] public string emp_name { get; set; }

        [SugarColumn(IsIgnore = true)] public int node_status_type { get; set; }

        /// <summary>
        /// 审批类型  0 或签 1 会签
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int emp_type { get; set; }
    }
}